package com.example.security.dao;

import com.example.security.entity.Role;
import com.example.security.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapperDao {

    User loadUserByUsername(String userName);

    List<Role> getUserRolesByUid(Integer id);

}
